var t = getApp();

Component({
    properties: {
        info: {
            type: Object
        }
    },
    data: {
        defaultAvatar: "http://newimg.ap1983.com/prod/20210830/aed7064d195f40a7b0ab464891f3a94a.png"
    },
    methods: {
        toPage: function(a) {
            var e = a.currentTarget.dataset.url;
            t.global.loginThenRedirectTo(e);
        },
        toVipRights: function() {
            wx.navigateTo({
                url: "/packages/vip/page/vip-rights/vip-rights"
            });
        },
        toVipCode: function() {
            wx.navigateTo({
                url: ""
            });
        }
    }
});